#include "sfc/test.h"

namespace sfc::str {

sfc_test(test1) {
  auto s = Str("An iterator over substrings of this string slice");
  auto p = s.split([](auto c) { return c == ' '; });
  while (auto x = p.next()) {
    log::info("{}", ~x);
  }
}

}  // namespace sfc::str
